package com.ostrich.module_home.discovery

import androidx.lifecycle.LiveData
import com.ostrich.library_base.BaseViewModel
import com.ostrich.library_net.BaseResponse
import com.ostrich.module_home.HomeRepository
import com.ostrich.module_home.discovery.entity.DiscoveryEntity

/**
 * @Author : yaotianxue
 * @Time : On 2023/10/30 14:56
 * @Description : DiscoveryViewModel
 */
class DiscoveryViewModel:BaseViewModel() {
    private val homeRepository:HomeRepository by  lazy { HomeRepository() }
    fun discovery(): LiveData<BaseResponse<MutableList<DiscoveryEntity>>> {
        return homeRepository.discovery()
    }
}